//
//  HomePage_HobbyViewController.m
//  MagicBox
//
//  Created by dllo on 16/8/12.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "HomePage_HobbyViewController.h"
#import "HomePage.h"
@interface HomePage_HobbyViewController ()

@end

@implementation HomePage_HobbyViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view./Users/dllo/PodsMagicBox1/PodsMagicBox/MagicBox/HomePage/Model/HomePage.m
}

-(void)setModel:(HomePage *)model{
    _model = model;
    NSString *str = @"?appId=3&filterParams=%7B%22param1077%22%3A%220%22%2C%22param1574%22%3A%222%22%2C%22param1078%22%3A%220_800%22%2C%22param1081%22%3A%2260_120%22%2C%22filterLocal%22%3A%22dl%22%7D&format=json&localname=dl&platform=ios&version=7.1.1&platform:%20iphone&osv:%209.2.1";
    NSString *strUrl = [NSString stringWithFormat:@"http://app.58.com/api/detail/ershoufang/%ld%@",_model.infoID,str];
  
    
    [CCNetTool GET:strUrl body:nil headerFile:nil response:CCJSON success:^(id result) {
      
        
    } failure:^(NSError *error) {
        
    }];
    
}
@end
